﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>contactcard</title>


    <!-- WinJSContrib.ContactCard references -->
    <script src="../../scripts/winjscontrib/mcnext.contacts.js"></script>

    <link href="contactcard.css" rel="stylesheet" />
    <script src="contactcard.js"></script>
</head>
<body>
    <div class="contactcard fragment">
        <header aria-label="Header content" role="banner">
            <button class="win-backbutton" aria-label="Back" disabled type="button"></button>
            <h1 class="titlearea win-type-ellipsis">
                <span class="pagetitle">Contacts card</span>
            </h1>
            <div class="codelink" data-codepage="./pages/contactcard/contactcard"><span class="symbol">&#xE160;</span><span class="text">show me the code !</span></div>
        </header>
        <section class="desc-screen" aria-label="Main content" role="main">
            <div class="bloc-description">
                <p>Most WinRT API are projected to javascript but most of them have a programming model far from what we are acustomed to in javascript.</p>
                <p>
                    One of the worth example of it is the API for showing a contact card.
                </p>
                <p>
                    The WinJSContrib.ContactCard package is a helper for handling contact cards in a javascript friendly manner.
                </p>
            </div>
            <div class="bloc-content">
                <div class="split">
                    <div>
                        <p><button data-page-action="simpleContact">Simple contact</button></p>
                        <p><button data-page-action="advancedContact">Detailed contact</button></p>
                    </div>
                    <div>
                        <p>Just for fun, search in your contacts by providing his/her email</p>
                        <p><input type="text" id="txtMail" /> <button data-page-action="searchContact">search</button></p>
                    </div>
                </div>
            </div>
        </section>
    </div>
</body>
</html>
